package com.shinewind.payment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shinewind.pojo.dto.UserAddressDto;
import com.shinewind.pojo.entity.UserAddress;

import java.util.List;

public interface IUserAddressService extends IService<UserAddress> {
    public List<UserAddress> getUserAddressByUid(String uId);
    public Boolean saveUserAddressByuId(String uId, UserAddressDto userAddressDto);
    public Boolean updateUserAddressByaddressId(String addressId, UserAddressDto userAddressDto);
    public Boolean updateDefaultAddressByaddressId(String addressId);
    public Boolean deleteAddressByaddressId(String addressId);
    public String getUidByAddressId(String addressId);
}